package com.credithc.customers.base.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.LinkedHashMap;
import java.util.List;

/**
 * @author zhukai
 * @date 2018/12/4 9:51
 */
@Mapper
@Repository
public interface CustomMapper {

    /**
     * mysql直接查询sql
     * @param sql sql
     * @return map
     */
    List<LinkedHashMap<String, Object>> customQueryItem(@Param("sql") String sql);
}
